from django.db import models


# Create your models here.

class UserMac(models.Model):
    name = models.CharField(max_length=5, verbose_name="姓名")
    mac = models.CharField(max_length=17, verbose_name="MAC")
    need_wake = models.BooleanField(default=False, verbose_name="是否需要开机")

    def __str__(self):
        return self.name

    class Meta:
        verbose_name = '启动'
        verbose_name_plural = verbose_name
